class PoolsController < ApplicationController
  before_filter :require_admin
  #@ytt
  def index
    begin
      pools = Pool.new(@cf_client)
      @pools = pools.pool_info()
      @dea = pools.topo_info()
      puts "-------------------"
      puts"@pools=#{@pools}"
      puts"@dea=#{@dea}"
    rescue Exception => ex
      flash[:alert] = ex.message
    end
  end


end
